package com.redpacketcover.rc.base;

/**
 * 网络请求结果 基类,剥离出数据给上层
 */
public class BaseResponseBean<T> {
    String timestamp;
    private int code;
    private T data;
    private String msg;

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}

